package com.springcloudalibaba.service;

import com.springcloud.entities.CommonResult;
import com.springcloud.entities.PayMent;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentService {
    @Override
    public CommonResult<PayMent> paymentSQL(Long id) {
        return new CommonResult<>(444,"服务降级返回,没有该流水信息",new PayMent(id, "errorSerial......"));
    }
}
